package com.atqh.logistics.mapper;

import com.atqh.logistics.domin.Mission;
import com.atqh.logistics.utils.Vo.MissionAndCarAndCustom;
import com.atqh.logistics.utils.Vo.MissionAndCustom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity com.atqh.logistics.domin.Mission
 */
@Repository
public interface MissionMapper extends BaseMapper<Mission> {

    Mission SelectTargetMission(@Param("missionid") int missionid);

    List<MissionAndCustom> SelectDaiMissionList();

    List<Mission> selectDaiCarDriverList();

    List<Mission> selectComList();

    List<MissionAndCarAndCustom> selectOwnTaskList(@Param("driverId") int driverId);

}




